import xbot
import xbot_visual
from . import package
from .package import variables as glv
import time

def main(args):
    IMEI邮箱账号 = None
    try:
        IMEI邮箱账号 = xbot_visual.excel.launch(launch_way="open", driver_way="auto_check", open_filename="C:\\Users\\Administrator\\Desktop\\IMEI邮箱账号.xlsx", save_filename="", isvisible=False, ignoreformula=False, password=xbot_visual.decrypt(""), write_password=None, update_links=False, _block=("子流程2", 1, "打开/新建Excel"))
        excel_row_count = xbot_visual.excel.get_row_count(workbook=IMEI邮箱账号, sheet_name="", _block=("子流程2", 2, "读取Excel总行数"))
    finally:
        args["IMEI邮箱账号"] = IMEI邮箱账号
